var filter = {
  isTooLong: function (price) {
	  console.log('isTooLong',price);
    if (!price || typeof price != 'object') {
      return false;
    } else {
      var _length = 0;
	  var nt_0,nt_1
		
      for (var i = 0; i < price.length; i++) {
		  let index=0,inderp=0
		 let p=(nt_0 = i, null == nt_0 ? undefined : 'number' === typeof nt_0 ? nt_0 : "" + nt_0)
		 let pip=price[(nt_0 = i, null == nt_0 ? undefined : 'number' === typeof nt_0 ? nt_0 : "" + nt_0)]
		 let pright=price[(nt_1 = i, null == nt_1 ? undefined : 'number' === typeof nt_1 ? nt_1 : "" + nt_1)]
		 if(!pip){
			 index=0
		 }else{
			 index=pip.length
		 }
		 
		 if(!pright){
		 		 inderp=0
		 }else{
		 		inderp=pright.length
		 }
		 
        _length = _length > index ? _length : inderp;
      }
	
      ;

      if (_length > 9) {
        return true;
      } else {
        return false;
      }
    }
  }
};
module.exports = {
  isTooLong: filter.isTooLong
};